﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EncryptWebConfig.aspx.cs" Inherits="EGuayas.Web.EncryptWebConfig" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    
    <title></title>
    <link  href="~/Resources/css/Style.css"  rel="stylesheet" />
</head>
<body>
      <ext:ResourceManager ID="ResourceManager1" runat="server" />
                <ext:FormPanel 
                    ID="forPanelComentario"                   
                    Border="false"
                    runat="server"
                    Width="330"            
                    BodyPadding="5"
                    Layout="Form">
                    <FieldDefaults LabelWidth="75" LabelPad="20" LabelSeparator="" />
                    <Items>   
                         <ext:Panel ID="Panel2" runat="server" Border="false" Layout="Form" ColumnWidth=".5" LabelAlign="Top">
                            <Defaults>
                                <ext:Parameter Name="AllowBlank" Value="false" Mode="Raw" />
                                <ext:Parameter Name="MsgTarget" Value="side" />
                            </Defaults>
                            <Items> 
                                <ext:TextArea ID="txtComentario" runat="server" FieldLabel="Resultado"  AnchorHorizontal="90%" AnchorVertical="100%"></ext:TextArea>
                                    
                            </Items>
                        </ext:Panel>
                    </Items>
                    <Buttons>
                        <ext:Button ID="btnOk" runat="server" Text="Encriptar"  
                  >
             
                     <DirectEvents>
                        <Click OnEvent="btnEncriptar_Click" >
				            	   <EventMask ShowMask="True"></EventMask>	    
                        </Click>                          
                   </DirectEvents>
                </ext:Button>
                <ext:Button ID="btnNoOk" runat="server" Text="Descriptar">
                    
                     <DirectEvents>
                        <Click OnEvent="btnDesencriptar_Click" >
				            	   <EventMask ShowMask="True"></EventMask>	    
                        </Click>                          
                   </DirectEvents>
                </ext:Button>
                        <ext:Button ID="btnWinClose" runat="server" Text="Reset"  OnClientClick="App.btnOk.enable();App.btnNoOk.enable();App.txtComentario.setValue('');">
                        <Listeners>                     
                        </Listeners>
                    </ext:Button>
                    </Buttons>
                </ext:FormPanel>
         
         
</body>
</html>
